package cn.iocoder.yudao.module.enterprise.dal.mysql.account;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.enterprise.dal.dataobject.account.AccountSourceDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 碳排放核算和排放源关联 Mapper
 *
 * @author StevenShen
 */
@Mapper
public interface AccountSourceMapper extends BaseMapperX<AccountSourceDO> {

    default List<AccountSourceDO> selectListByAccountId(Long accountId) {
        return selectList(AccountSourceDO::getAccountId, accountId);
    }

}
